package br.edu.ufabc.gtrnp.helppo.presentation.action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.actions.DispatchAction;

/**
 * @struts.action name="tutoriaisAction" path="/tutoriais"
 *                scope="request" parameter="action" validate="false"
 * 
 * @struts.action-forward name="instalacaoSL"
 *                        path="/jsp/tutorialInstalacaoSL.jsp"
 * @struts.action-forward name="criacaoAmbiente"
 *                        path="/jsp/tutorialCriacaoAmbiente.jsp"
 * @struts.action-forward name="uploadApresentacoes"
 *                        path="/jsp/tutorialUploadApresentacoes.jsp"
 */
public class TutoriaisAction extends DispatchAction {

	public ActionForward instalacaoSecondLife(ActionMapping mapping, ActionForm form,
			HttpServletRequest request, HttpServletResponse response)
			throws Exception {
		return mapping.findForward("instalacaoSL");
	}

	public ActionForward criacaoAmbiente(ActionMapping mapping, ActionForm form,
			HttpServletRequest request, HttpServletResponse response)
			throws Exception {
		return mapping.findForward("criacaoAmbiente");
	}
	
	public ActionForward uploadApresentacoes(ActionMapping mapping, ActionForm form,
			HttpServletRequest request, HttpServletResponse response)
			throws Exception {
		return mapping.findForward("uploadApresentacoes");
	}
}
